package com.lumlord.common.exception;

/**
 * 
 * @author Gpf
 *	业务异常
 */
public class BusinessException  extends Exception{
	private int code;
    public BusinessException() {
        super();
    }
    public BusinessException(String msg) {
        super(msg);
    }
    
    public BusinessException(String msg,int code) {
        super(msg);
        this.code=code;
    }
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
     
}
